{{indexmenu_n>3}}

====== Android GPS via USB to Ocpn ======

=== How to use a Samsung SIII Mini as GPS for Laptop ===

\\
[[http://www.cruisersforum.com/forums/f134/how-to-use-a-samsung-siii-mini-as-gps-for-laptop-137896.html|http://www.cruisersforum.com/forums/f134/how-to-use-a-samsung-siii-mini-...]]\\
\\
First download from play.google.com/store ShareGPS Beta\\
[[https://play.google.com/store/apps/details?id=com.jillybunch.shareGPS|https://play.google.com/store/apps/details?id=com.jillybunch.shareGPS]]\\
Android app for sharing GPS data with a PC mapping application\\
See website: [[http://sharedroid.jillybunch.com/|http://sharedroid.jillybunch.com/]]\\
\\
Detailed instructions for Connecting via USB with Franson GpsGate (needed with shareGPS)\\
Note that Franson GpsGate will also work with wifi and bluetooth.\\
More installation instructions: [[http://sharedroid.jillybunch.com/user.html|http://sharedroid.jillybunch.com/user.html]]\\
\\
Now download for the Laptop adb.exe at [[http://forum.xda-developers.com/showthread.php?t=2588979|http://forum.xda-developers.com/showthread.php?t=2588979]]\\
\\
Run it on the Laptop in a command prompt box as "adb forward tcp:50000 tcp:50000" (without the quotation marks)\\
\\
Now setup OpenCPN to receive the NMEA strings. Goto settings → connections. Select as Properties "Network" "TCP" Adress "127.0.0.1" and Dataport "50000" and click "Apply"\\
\\
Now Run on the Phone ShareGPS and go to "settings" deactivate "Use Bluetooth" - Activate "Use USB" Choose your Format and activate "Create NMEA"\\
\\
Now the GPS will RUN, not forgetting to activate the GPS function on the phone.\\
\\
And Opencpn works with the GPS ( my boat seems to be in my garden)

